import mitt from 'mitt'

export type Events = {
  handleCloseTab?: any
}

export const bus = mitt<Events>()
